package com.cloudkinto.service.firstvesselorder.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotEmpty;
import java.util.List;

/**
 * @author zhangyy
 * @date 2020/9/16 9:47
 * @description:
 */
@Data
@ApiModel
public class FirstVesselOrderPackageAddReq {

    /**
     * po号
     */
    @ApiModelProperty("po号")
    private String poNumber;

    /**
     * 货件编号
     */
    @ApiModelProperty("货件编号")
    private String upcNumber;

    /**
     * 箱数
     */
    @ApiModelProperty("箱数")
    private int count;

    /**
     * 重量
     */
    @ApiModelProperty("重量")
    private double weight;

    /**
     * 长
     */
    @ApiModelProperty("长度")
    private double length;

    /**
     * 宽
     */
    @ApiModelProperty("宽度")
    private double width;

    /**
     * 高
     */
    @ApiModelProperty("高度")
    private double height;

    /**
     * 备注
     */
    @ApiModelProperty("备注")
    private String packageRemark;

    @NotEmpty(message = "请填写商品信息")
    private List<FirstVesselOrderProductAddReq> productList;
}
